package cn.com.newloading;

import cn.com.newloading.config.MQInitConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

import java.io.IOException;
import java.util.concurrent.TimeoutException;

@SpringBootApplication
@EnableEurekaClient
public class StoreServiceApplication {
    public static void main(String[] args) throws IOException, TimeoutException {
        SpringApplication.run(StoreServiceApplication.class,args);
        System.out.println("=============服务启动完成==============");
        new MQInitConfig().initConfig();
        System.out.println("=============MQ配置初始化==============");
    }
}
